﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

using Pg.BioMedics.SDR.Web.Controls;

public partial class Views_ErrorView : BaseHostedView
{
    protected void Page_Load(object sender, EventArgs e)
    {
        Exception ex = base.Parameters.FirstOrDefault() as Exception;
        if (ex != null)
            errorLabel.Text =  ex.Message;
    }
}

public class ErrorViewParameter
{
    #region Properties

    public Exception Error
    {
        get;
        set;
    }

    public string SourceView
    {
        get;
        set;
    }

    #endregion
}
